﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Skynet.ServiceContracts.DataContracts
{
    [DataContract]
    [KnownType(typeof(DCTextQuestion))]
    public class DCQuestion
    {
        [DataMember]
        public Guid Id { get; set; }

        [DataMember]
        public EntityState State { get; set; }

    }
    [DataContract]
    public class DCTextQuestion : DCQuestion
    {
     
        [DataMember]
        public string Question { get; set; }

        [DataMember]
        public string Answer { get; set; }
 
    }

}
